<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        function reverse(arr){
            let newArr = [];
            for(let i=arr.length-1;i>0;i--){
                newArr[newArr.length] =arr[i];
            }
            return newArr;
        }
        let arr1 = reverse([11,12,13,14,15]);
        console.log(arr1);
    </script>
</body>
</html>